#pragma once
#include <cocos2d.h>
#include "EnemyFactory.h"


USING_NS_CC;

class EnemyBank : public CCObject
{
public:
	EnemyBank(void);
	~EnemyBank(void);

	void initBank();
	void clearBank();
	EnemyFactory* getEnemyFactory(char* type);

	CC_SYNTHESIZE_RETAIN(CCDictionary*, _listEnemyFactory, EnemyFactories);

	static EnemyBank* _instance;
	static EnemyBank* sharedEnemyBank();
};

